﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="EmpSalarySummary.aspx.cs" Inherits="EmployeesSalary_EmpSalarySummary" %>

<%@ Register Src="../Control/DepartmentDList.ascx" TagName="DepartmentDList" TagPrefix="uc1" %>
<%@ Register Src="../Control/SelUser.ascx" TagName="SelUser" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Titile" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <table cellpadding="0" cellspacing="5" class="TbSearch">
        <tr>
            <td style="width: 80px;">
                汇总类型：
            </td>
            <td colspan="2">
                <asp:DropDownList ID="ddlSelType" runat="server">
                    <asp:ListItem Value="dpt">按部门</asp:ListItem>
                    <asp:ListItem Value="time">按时间</asp:ListItem>
                    <asp:ListItem Value="framework">按人员类别</asp:ListItem>
                    <asp:ListItem Value="name">按人名</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                汇总时间段：
            </td>
            <td colspan="2">
                <asp:TextBox ID="start" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-M'})"
                    Width="120px" CssClass="Wdate" /></asp:TextBox> &nbsp;至&nbsp;
                <asp:TextBox ID="end" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-M'})" Width="120px"
                    CssClass="Wdate" /></asp:TextBox>
            </td>
            <td style="text-align: right; margin-right: 10px;">
                <span class="roundbtn">
                    <asp:LinkButton ID="SearchButton" runat="server" Text="&nbsp;&nbsp;&nbsp;&nbsp;查&nbsp;&nbsp;询&nbsp;&nbsp;&nbsp;&nbsp;"
                        OnClick="Search_Click"></asp:LinkButton>
                </span>
            </td>
        </tr>
        <tr>
            <td style="width: 50px;">
                员工：
            </td>
            <td>
                <uc2:SelUser ID="SelUser" runat="server" />
            </td>
            <td style="width: 80px;">
                <asp:LinkButton ID="remove" runat="server" OnClick="remove_Click">移除姓名</asp:LinkButton>
            </td>
            <td style="width: 80px;">
                部门：
            </td>
            <td>
                <uc1:DepartmentDList ID="Depart" runat="server" />
            </td>
            <td style="width: 60px;">
                人员类别：
            </td>
            <td>
                <infolight:webdropdownlist runat="server" id="wddlFramework" autoinsertemptydata="False"
                    datasourceid="wdsFramework" datatextfield="ValueName" datavaluefield="ValueId"
                    driverobject="" filter="" filterobject="" onlyshowselecttext="False" ondatabound="wddlFramework_DataBound">
                </infolight:webdropdownlist>
            </td>
        </tr>
    </table>
    <infolight:webgridview id="wgvMaster" runat="server" cellpadding="5" 
        forecolor="#333333" width="100%" aborticonurl="../Image/UIPics/Abort.gif" addiconurl="../Image/UIPics/Add.gif"
        applyiconurl="../Image/UIPics/Apply.gif" canceliconurl="../Image/UIPics/Cancel.gif"
        mouseoveraborticonurl="../Image/UIPics/Abort2.gif" mouseoveraddiconurl="../Image/UIPics/Add2.gif"
        mouseoverapplyiconurl="../Image/UIPics/Apply2.gif" mouseovercanceliconurl="../Image/UIPics/Cancel2.gif"
        mouseoverokiconurl="../Image/UIPics/OK2.gif" mouseoverqueryiconurl="../Image/UIPics/Query2.gif"
        okiconurl="../Image/UIPics/OK.gif" 
        queryiconurl="../Image/UIPics/Query.gif" headerstylewrap="False"
        backcolor="White" bordercolor="White" borderstyle="Groove" 
        borderwidth="2px" onpageindexchanging="wgvMaster_PageIndexChanging" 
        PageSize="15" AllowPaging="False">
        <pagersettings mode="NumericFirstLast" />
        <footerstyle backcolor="#507CD1" forecolor="White" font-bold="True"></footerstyle>
        <rowstyle backcolor="#EFF3FB" horizontalalign="Center"></rowstyle>
        <editrowstyle backcolor="#2461BF"></editrowstyle>
        <Columns>
            <asp:CommandField ButtonType="Image" CancelImageUrl="~/Image/UIPics/Cancel.gif" 
                DeleteImageUrl="~/Image/UIPics/Delete.gif" 
                EditImageUrl="~/Image/UIPics/Edit.gif" 
                SelectImageUrl="~/Image/UIPics/Select.gif" ShowDeleteButton="True" 
                ShowEditButton="True" ShowSelectButton="True" 
                UpdateImageUrl="~/Image/UIPics/OK.gif">
                <HeaderStyle Wrap="False" />
            </asp:CommandField>
        </Columns>
        <navcontrols>
            <InfoLight:ControlItem ControlName="Add" ControlText="add" ControlType="Image" 
                ControlVisible="False" DisenableImageUrl="../image/uipics/add3.gif" 
                ImageUrl="../image/uipics/add.gif" MouseOverImageUrl="../image/uipics/add2.gif" 
                Size="25" />
            <InfoLight:ControlItem ControlName="Query" ControlText="query" 
                ControlType="Image" ControlVisible="False" 
                DisenableImageUrl="../image/uipics/query3.gif" 
                ImageUrl="../image/uipics/query.gif" 
                MouseOverImageUrl="../image/uipics/query2.gif" Size="25" />
            <InfoLight:ControlItem ControlName="Apply" ControlText="apply" 
                ControlType="Image" ControlVisible="False" 
                DisenableImageUrl="../image/uipics/apply3.gif" 
                ImageUrl="../image/uipics/apply.gif" 
                MouseOverImageUrl="../image/uipics/apply2.gif" Size="25" />
            <InfoLight:ControlItem ControlName="Abort" ControlText="abort" 
                ControlType="Image" ControlVisible="False" 
                DisenableImageUrl="../image/uipics/abort3.gif" 
                ImageUrl="../image/uipics/abort.gif" 
                MouseOverImageUrl="../image/uipics/abort2.gif" Size="25" />
            <InfoLight:ControlItem ControlName="OK" ControlText="Insert" 
                ControlType="Image" ControlVisible="False" 
                DisenableImageUrl="../image/uipics/ok3.gif" ImageUrl="../image/uipics/ok.gif" 
                MouseOverImageUrl="../image/uipics/ok2.gif" Size="25" />
            <InfoLight:ControlItem ControlName="Cancel" ControlText="cancel" 
                ControlType="Image" ControlVisible="False" 
                DisenableImageUrl="../image/uipics/cancel3.gif" 
                ImageUrl="../image/uipics/cancel.gif" 
                MouseOverImageUrl="../image/uipics/cancel2.gif" Size="25" />
        </navcontrols>
        <selectedrowstyle backcolor="#D1DDF1" forecolor="#333333" font-bold="True"></selectedrowstyle>
        <pagerstyle backcolor="LightBlue" forecolor="White" horizontalalign="Center"></pagerstyle>
        <headerstyle backcolor="DeepSkyBlue" forecolor="White" font-bold="True"></headerstyle>
        <alternatingrowstyle backcolor="White" bordercolor="White"></alternatingrowstyle>
    </infolight:webgridview>
    <infolight:webdatasource runat="server" id="wdsFramework" selectalias="Usasdb" selectcommand="select Employees_LinkValue.ValueId,Employees_LinkValue.ValueName from Employees_LinkValue where TypeId='Framework'">
    </infolight:webdatasource>
</asp:Content>
